package com.itheima.my_reggie.dto;

import com.itheima.my_reggie.pojo.Dish;
import com.itheima.my_reggie.pojo.DishFlavor;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class DishDto extends Dish {
    private String categoryName;
    private List<DishFlavor> flavors=new ArrayList<>();
}
